﻿document.write("<script language='javascript' src='/Content/layer/layer.js'></script>");//样式
function readyIndex() {
    $(".main_menu li div").click(function () {
        $(".main_menu li div").removeClass('main_menu leftselected');
        $(this).addClass('main_menu leftselected');
    }).hover(function () {
        $(this).addClass("hoverleftselected");
    }, function () {
        $(this).removeClass("hoverleftselected");
    });
}
/**
 * 安全退出
 **/
function IndexOut() {
    layer.confirm("确定要退出系统吗?", { icon: 2, btn: ['退出', '取消'] }, function () {
        window.location.href = '/Home';
    })
}
